package design_pattern.factory.simple_factory;

/**
 * 测试类
 * @author 15594
 */
public class Test {
    public static void main(String[] args) {

        Colour colour = ColourFactory.getColour("red");
        colour.getColour();
        ColourFactory.getColour("yellow").getColour();
        ColourFactory.getColour("yellow1").getColour();
        
    }
}
